Fixed crash on tic-tac-toe-mode.