On the position of a vortex in a two-dimensional model of atmosphere