The bug only comes up when you have clip gain envelopes it seems
The bug with the layers also come up when you have clip gain envelopes
edit: strange, in my current project I can recreate the bug for a new track, only in the old tracks the bugs pops up