fix zooming problems