Fix corrupted image