Towards Reliable Neural Generative Modeling of Detectors