Fixes #5312: Lightbox will not reposition itself after display on small viewport devices
Merge pull request #5313 from mrclay/5312