Repair image bug.