Go into your settings and search for Accessibility. It should bring up a page and a list of downloaded services down the bottom. Try turning what's on off and see if it makes any difference. Otherwise it might be your keyboard app? I can't replicate the issue across several phones using SwiftKey