fix warning, redraw on changed foreground color