I'm running Cyanogenmod 13 on my Nexus 4.
Sometimes when I write something (to post), the input cursor goes back.
For example instead of "I love cake"
It can turn into I love cake (without ""), I lovcake, and basically Ilocke.
You get the point.
Take a look into it, it may be Cyanogenmod's fault.