2d.imageData.put.wrongtype

putImageData() does not accept non-ImageData objects