Fix checkWin()