fix x-coordinate of zoom cursor