See use case in MIRTK, https://github.com/BioMedIA/MIRTK/issues/677. See also previous workaround issue #25.