d3 transitions on leaflet events and fixes