bugfix: diagonal code did not affect transition from standing to walking