Fix for fancybox content out of bound