Bug correction in lazy loading when page is too small