Only cap getBoundsZoom at z18 when maxZoom is infinite