Fixed teleport after fork.