ensure that an image is selected before autoAlignHeart