fixed Bug: colorCache was not initialized