Fixed Lightbox bug in Safari