Fix zoom level switching.