Fix lazy loading for resize events

Load lazy loading images when they're in the viewport after a resize event.