Resolves an issue whereby background colors were written to the terminal output when colorization was applied.