fix webvtt to only have cues for the number of images we want