Fix color cache problem