Add a white background to images displayed in the lightbox

Fixes issue #4475