Small bug fix when fancybox is not called.