Fix resize bug in heatcanvas leaflet layer