The "Prepare Using" buffer is a playback setting. I would not expect it - or any other config setting in SONAR - to cause hung notes during recording, if the hung notes manifest as long notes in the PRV. The only thing that would account for that would be the failure of SONAR to receive or record a note-off from the controller.
Other than changing track focus (while depending on "Always Echo Current MIDI track" to echo input to the synth) or otherwise interrupting the input stream to the recording track while a note is held, I'm not sure how this would happen, and I can't imagine it happening only in X2 unless it's a bonafide bug of some sort.
If the MIDI keyboard is connected by USB, there might be a problem with that interface, but I would expect it to affect all versions of SONAR.