Fix fancybox on firefox