Fix foreground color when the host is up and down