Backport of support for non-integer zoom levels from perliedman/Proj4Leaflet/fix-non-integer-zoomlevel