prevents clicks upon win condition