Fixed an issue in highlighting the winning row of pieces.