Fixed handling of color background