fixed a pixel rounding error that caused wonky cursor positions when zoomed