MOB-1983 Fix for keepInView in Safari

Ugly hack in Leaflet source but it's the only thing that helps.
:+1: