fix #840 fancybox does not work when clicking the image of the card