Fixed window jumping to caret at bottom when typing in autoresizing textarea - https://stackoverflow.com/a/18262927