I recommend obtaining your visa in China. I came to States 9 years ago and have been back at least 7,8 times with both F-1 and H-1B Visa. There is no need to go to the third country. They can't deny your H1-B with excuses, such as immigration intention.