Strange behavior when inserting (Audacity 3.7)

The error is still present in Audacity 3.7.

One second you don’t think about it and three steps further you wonder why it’s not synchronized.

Originally reported here: Strange behavior when inserting (Audacity 3.6.4)