Fixed an issue with incorrect scrolling