fixed an issue with lazy loaded images.