Fix auto-scrolling.