Fixed so it only initializes envelopes when instruments are enabled