Food for thought: what's the perfect game in Rock, Paper, Scissors?
For there to be a "perfect move" in any instance of the game, all other moves must undeniably lead to a loss.
There is a perfect strategy for RPS: play randomly (1/3 chance of each move). The perfect game would be both players choosing moves at random.
That's a Nash equilibrium iirc. It's not technically the same as a perfect strategy but it's the best you can do.
While it is a Nash equilibrium, it is also the RPS perfect game. No individual play has any advantage over the others and patterns of play only reduce your win rate. Thus the optimal move each game is to pick randomly.
The same is true for the 4th move of tic tac toe's perfect game (previous moves being 1, 5, & 9 in that order). The 4th move is randomly selected from 2, 4, 6 or 8 to result in a tied game.