[[ HiResPatterns ]] Fix skia bug resulting in invalid scaling of pattern image