Fixed white flash problem for fancybox