fixed bug where setting range of envelope messes up the position of the break and curve points