I usually have this perception, and it's true some of the time. I make stupid comments and not realize how foolish or rude I sound until after they sneer at me for it.
I deal with it through mindset. I don't go to work to make friends, I go to earn money. As long as I keep that in mind it doesn't bother me as much when my coworkers are put off by me.
_________________
"I'm a weird dude, and it doesn't always work out in my favor, but the whole thing is supposed to say something: That a weak dude like me, odds against them, can make it, so can everyone else."
-Aleksander Vinter, aka Savant, EDM Producer