On graphene there is no setting that I can find. I can turn off spell checker but that doesn't help. I can take away "open supported links" from the keyboard app, but that doesn't help either. As you back up, when it decides to underline a word, if you back up once more, that is when the space before the word disappears.