Fix to friendly monsters infinite move problem.