Did you set in ctrlr / midi / midi thru / host 2 device ?
I can’t help you more because i’m on pc but i have sometimes the issue
In ableton or NI softs there’s a setting called “midi offset” or similar
you have to adjust. for me that was always shity
I don’t know how to solve when that comes
Actually i’m ok with midi latency