Fix for possible other issues in the Fancybox bug