Remove the old color bar layer from the image when a new color scheme is applied.