Tweak the setColor methods for Path and Text