I'm not saying Trump is driving them away, I'm saying the fact that he is popular is a sign of the attitudes of Americans towards Mexicans.
It's quite feasible that other criteria (taxes, job creation, etc) contribute more to a candidate's popularity.