Picture.getImageData fixes