Print background colour fix

Resolves issue #1817.