Volume modulation envelope preset restores incorrectly

Envelope presets seem to be restored differently in beat mode compared to ms mode. I’m talking about the preset system in the volume modulation ‘envelope’ operator.

How to reproduce:

  1. save an envelope preset in the ‘Volume Envelope’ operator.
  2. restore it when envelope is in beat mode
  3. restore it when envelope is in ms mode

I expected the ms and beat mode to scale correctly when restoring a preset, the same way envelopes get nicely converted whenever toggling mode.

This might be an issue at other similar places as well.