Fix for Leaflet "loading" event, using ArcGIS loading util.