Videofile not adjusting correctly

When adjusting the video offset and attachment position, the videofile is not aligned to the beat set in the properties panel, see screenshot. I must drag it back, typically 1 beat or so.

Skjermbilde 2021-04-29 kl. 10.30.15