2d.imageData.object.undefined

ImageData.data converts undefined to 0