Adjusting max zoom level to prevent flickering.