Fix for ImageData