Unregister dimensions on leaving multiplayer.  Fixes #473.