Fixes lightbox close.