Fixing lightbox bugs.