well I think that has to do with the dialogue system and yeah the character is stopping randomly until the E key is tapped for 4 times or above continuously that's when the character will snap to a random direction as well..