Fixed enemycontroller bugs.