Fix bug with inline scroll