Changed handling of zoom limits to support log-zoom.