Firstly, welcome to XT660.com 
        
 
         
         Your problem is quite common and is almost always simply down to a low warm idle speed.
         
        
 Make sure the motor idles at between 1400 and 1500 rpm when it is up to temperature. Sorting this should cure your involuntary stalling issues.