Fix bug with scroll.