Fixed null error in minMax. Some AI failure to move.