update max frame before scrubbing forward, in case a new keyframe was added