cachedCGColor() and nsColor() are not thread-safe