Fix image delete