[Kore] Fixed possible crash when no color is set when calling clear.