Replaced the zoom level limitation with a limitation by dimensions