Make sure states are exited if the movement update fails.
Differential Revision: https://code.wildfiregames.com/D1998