fix dragging graphics when zoomed