Make the lightbox work with image-deferrer (bug 1030159)