I think you overcome this by contemplating others like you in the same position.
In the Qu'ran it talks about the non believers and now days even some bad muslims laughin at the teachings of Allah, it talks about the hardships of the prophets who were belittled and so forth.
Me and you, insha'Allah are not of this world as such and Allah knows best, this world where there is no islamic state where there is no peace, but when we think about our real companions, imagine this;
You are with all your friends on a place or something, then you are forced off the plane by a person, you and all of your friends have to jump of with parachutes in different directions, some of you land west some east and so forth noone of you land together. So you and your friends are seperated, you find a village where you landed, you stay there though its hard, the people are rude and so forth but you know that if you stay then you have a chance of being rescued, but how do you in the meanwhile keep from going crazy at the people in the village? One way would be to contemplate about your friends, think about them and the day you'll get to see them, think what would they do in this situations, once you keep remembering this then the stay should be easier, and you could even end up makin new friends before you are rescued.
Similarly in a way this world is here for us, our real friends and family are the believers, we want to be among the prophets and companions, thats where I want to be, so I think about it and contemplate, and in the meanwhile while waiting to leave here I try make new 'friends' give da'wah, if people turn me down, then I have in my mind my day when I will be with my real friends 'The Prophets and Companions' and if they dont turn me down then I'll have made a new friend, a proper friend!
Hope that helps.