Add new version with WKCGContextIsBitmapContext.