Fix lightbox Closes #2451.