hack to work in leaflet 0.7.3

Not sure I want to merge this but it works.