Fixing up zooming behavior.