Fixes CanvasPixelArray set polyfill (#4974)