Fixed FSMBehaviour didn't set myAgent.