Fixed a nasty bug where a character could have no viable move, but still be locked in.