Fixed error in determining if opponet's move will win