Fix weird scrolling glitch