Another attempt at resolving the incorrect renderedRows problem after window.resize.