Cache `UIColor` created from pattern image to alleviate memory pressure