Fix issue 17: correct mouse coordinates when zoomed in