Fix for bug when second color in the legend can not be edited