Just to be clear: By "click" you mean SONARs metronome, or something else? A click track and metronome are not the same thing. Or are you using some kind of a click VST?
You say you "start the click" before recording the vocal track, and starting the metronome without actually starting playback or recording is something I thought can't be done. But I may be wrong, of course.
As suggested above, it might be a latency issue. Maybe the original guitar track actually records off time compared to click due to latency, or the vocal. Check that the guitar tracks start position is spot on.
Is this a new problem? Did you change any settings before it started?
What is your interface and what driver are you using? Such problems are very typical to motherboard soundchips and MME drivers.