I'm not sure what you mean by "using Sonar and the computer as the master". Under Preferences > Audio > Playback and Recording, you should have Sapphire drivers set as Playback and Record Timing Masters, and under Project > Clock, you should have the Source set to Audio.
When you say the metronome is drifting, what's the reference?