The reason why your characters are running away is because your using (anykey + WASD)
Add
shift+a
shift+s
shift+d
shift+w

Alt+a
Alt+w
Alt+s
Alt+d

Maybe ctrl also.

For some reason when doing that is still sends the Movement keys to all characters so thats why they run away.