Calculate detectors visible sizes. Re #5403