Fixed crashing with the new AI parent class.. AI states aren't changing yet for some reason, however.