Set foreground colour explicitly to black, if the background colour is made explicitly white.

Thanks to zLouD for reporting the issue #765