Snap midi notes to tempo changes

Sounds like the tracks are set to Linear Time Base,

.

If the track is set to Musical Time Base,

the events will always stay aligned with bars/beats.