Leaflet fitBounds could crash on Firefox