Fixed the Waveform drawing.