Fixing text input scrolling