Fix phantom move when no non-captures