Fix for fancybox