Take advantage of new option of map.invalidateSize

cf Leaflet/Leaflet#1766