MOB-1983 Fix for keepInView in Safari

Ugly hack in Leaflet source but it's the only thing that helps.
@fixme may be a good idea here :+1: