That seems like it might be a latency issue or a Delay Compensation issue.
Have you compared your real life latency to that which is reported in SONAR?
What size sample buffer are you using?
Do you have any effects in your project that use look ahead functions or have some other feature that increases latency?
Those are the kind of questions you'll want to consider.