fix waveform click callback offset