Remove dependencies on NodeMenu from game logic