Fixed renaming of composer legend nodes for raster layers