2d.imageData.put.null

putImageData() with null imagedata throws TypeError