Fix dimensions not unloading properly.