Fixing bug where background color was set to red