I got this problem on all of my XS-engines. I got the third one running at the moment. And that one was open last winter, there were no signs of wear or something else suspicious on the sprockets or shift forks.
I think the trick is to shift up more carefully.