Odd ADSR issue: rapidly pressing notes doesn't reset the envelope


I’m using the Maximillian sound library for ADSR, and I’ve had this problem ever since I started working on this Synth.

The problem is, if I hit a note with high decay, and hit another note before the first one silences, the second note plays at a lower volume.

I’ve tried resetting trigger of Maximillian’s Envelope class on SynthesiserVoice’s start note, among other things, with no luck. Any ideas?