waveform: remove unneeded element copy during drawing loop