Prevent falling into a position that the character can not walk away from