Fix waveforms and thumbnails reaching beyond 15000 frames.