Fix a couple crashes due to netcode changes.