Fix scrolling in threads pane