fix y coordinates in envelopeChannel