Fix color changing for SVG labels