Fix foreground and background color swap