Previously samples at the end could end up being cropped, when the Waveview is rendered using an offset.