Fixed lazyloading of images bug that was sometimes occurring in Chrome