Also the opposite happens using Undo, for example, change envelope from media lane to lane, edit a point, then Undo it and the envelope goes back to the media lane.
Easiest way to reproduce...
1) Load a project that has all envelopes in media lane for a track.
2) On the track run action: 'Envelope: Toggle display all visible envelopes in lanes for tracks'
3) Edit one or more points (in a single step) in an envelope.
4) Call Undo once.
The edited point(s) are restored but all envelopes revert back to the media lane.