Fix UI mobile incompatibility with lightboxes.