Fix image processing.