Fixed issues with scrolloff setting