Fixes #5508 lightbox preview works now