Update ADSR and LFO params on layer (region) change.

Probably fixes some potential crashes due to use-after-free too...