Grab proper frame when discard_overlapping_frames=True in trajectory.join()