Fixed resetting of scrolling in a text input area.