Fixing dark theme issue #2554 (Leaflet part)