Fix fancybox structure