fixed TimeSegment interpolateTime to return time with same offset as segment times