Fix fancybox issue