VID-1992 Fix failing lightbox tests