Fixed SetCurrentMediaLength bug.