Set background color correctly