I don't know if this is the case with you, but these "character twists" can happen when writing fast using the short/long function. The problem is that short press actions occur when the key is released. While the following character is typed while the key is pressed. These twists drove me crazy. I found a good solution for me.If you want you can try this