Fix orphaned joyride if foundation is reinitialized.