#9308: enable remove groups in the legend