Another re-implementation of image_single. Needed because events may test (and rely on) image_index (which maintains its old value) even when image_single is >=0.