Detach the state when copying a position