Fix bug in TicTacToe