I know this thread is six months old, but I just had this happen to an X2 project and I was able to "fix" it. I have an ancient Juno-60 analog synth that has a weird old midi converter box that controls it. This midi box theoretically does midi out so you can play the keyboard into the midi interface. I figured I would do that to work on a synth line. But the ancient midi converter box was sending some funky constant midi signals into my interface, and I'm not sure whether the midi converter box even works to do midi out anymore.
Anyway, this is a long story to let you know that I sat here for about 30 minutes without a cursor on my X2 project, driving me totally mad, until I unplugged the midi cable coming out of that old converter box into my midi interface (I have an emu 0404). The cursor magically reappeared. Don't know if this will help anyone, but there could be something to do with weirdness in your midi setup that could cause sonar to freak out in some way.