Move setting the pts of the copied frame to a more adequated place.