Use relative position of the cursor when zooming