webgis: fixed layers legend images when using mapcache