Fixing issues with default values of background colour and foreground colour