Fix issue where if the win is the last move, two alerts try to be shown