Gets rid of unused wmsLayers tracker on map view.