Fix for Leaflet plugin if layer is not enabled by default

Solution for https://github.com/pa7/heatmap.js/issues/130