programmatical zoom not centered