enforce maxZoom before applying paddingOffset, fixes #2489