Fix toc menu on raster layer