In a close election, as many recently have been, a minor candidate can easily make the difference. Perhaps people have forgotten the 2000 election.
The only way to prevent a similar event is to vote for the major party candidate who reflects your positions more than the other major party candidate. It ain't rocket science--except to those in denial.