Fix a node reference leak in XR mode due to re-assigning a variable without unref...