Fixed lightbox bug