Bugfix: panning after zoom change