TextInput bugfix

set new cursor position after insert " "-space