Cursor not working well

Im on windows / wsl and the cursor randomly does not get to the end of line or stays “in the middle” of a character or even jumps to a different place on the same line

image