Fixed behaviour of EnvelopeEditor when adding points