Immediately close preview image when clicking on various places