Program Change arriving too early or too late in Ableton Live

Good morning,
When setting a program change in a pattern, I have noticed that it is arriving in Ableton Live either :

I would have expected the Program Change to be aligned on the grid, just as notes are.
Is there a medicine for it ?

try to add an automation lane and send a program change on the grid position you wish.

Thanks, I tested it, but it arrives a bit too late in the instrument rack that i want to control.
The best i could do is to write a litte M4L device to delay the processing with Pre-send=On.

Empirically, the appropriate delay for my set up is 0.1.440 bar beats units, to have the chage arrive a few ticks before the beat.

I will ask squarp if there is a way to configure the pre-send delay.

And here is their response :

Right now the PRE-SEND sends the PC 2 beats before the pattern change.

We changed it from 1 beat to 2 beats in hapaxOS 3.00 because some synths needed more time to switch, and it turns out to be too early for others.

We already have a ticket to make it adjustable.