Do not crash when the first frame is not a keyframe (and thus none of the