Bug fix when closing the geometry
The geometry of a sub volume needs to be closed before the the detector elements of it are collected. Fixes ACTS-389.
The geometry of a sub volume needs to be closed before the the detector elements of it are collected. Fixes ACTS-389.