Fix envelopes rendering (incorrect loading of legacy ones)
Only load envelope points once at mapload