New image gets name from old one instead of nul. Prevents errors.