bug fix: coordinates were static when zooming