Rendering fixes when scrolling