Fix img lazy load for height calc bug for masonry