Fixed wrong dimension ID being used during server shutdown. Fixes #1010