"Fork" of canvasResize