Fix: Possbile crash in viewport.
serf: Refactor handler of FREE WALKING state.