Fix image destroy