Fixed tag mode being initiated when there are no images to tag.