Fix click-to-main scrolling