Cursor keeps moving to the left when typing [Fix]