Check if clearing event target is link or image.