Fixed config NPE with DimensionManager. Fixes #1333, #1335