Made cursor position adjustable to the coordinate system shift caused by zooming.