Fixes lightbox image sizing without resorting to JS