Redraw cursor on color change