The influence of counting geometry and lining on the Compton continuum in well-type detectors