I've had this problem for years and just learnt to live with it.
When recording in - external synths etc. - the audio needs to be shifted forwards afterwards.
When changing recordings delay in the audio settings it will change this, but I've yet to get the correct recording delay amount as it will always then record too late - plus how am I supposed to know how many samples to change it to?
And when I open a different project, the recording delay in audio settings will be the same but the the results will be different when recording. So I then move the delay around but the results seem random.
Here is what I mean.... this is a kick and you can see it is too early. All the audio I record per project is in the same position, so I can highlight and drag it all together to get in on the grid.