Fix partial waveform after trimming region front.