There is a setting called
Timing Offset (not to be confused with "Manual Offset" for adjusting audio recording latency compensation) on the Sync and Caching page of Audio Preferences. It's designed to adjust the timing relationship between MIDI sent to hardware ports and audio tracks (MIDI-driven soft synth output is buffered up in advance and behaves like audio in this respect).
Positive values delay audio relative to MIDI which is usually what you want because MIDI transmission delay is usually longer than audio latency and adds to it if you're input-monitoring a hardware synth). In you case, If I'm understanding correctly, you'll need a negative number to delay MIDI relative to audio.
Be aware that this setting will also affect where MIDI is laid down whilw recording, because it's essentially shifting the relationship between the MIDI grid and the audio clock (including the audio metronome).