I found a bug in the text editor regarding cursor positioning. It seems if I manually place the cursor somewhere and immediately start typing, the letters are inserted in the old cursor position until the server tells my client the new cursor position.
I think it is related to them auto saving encrypted messages.