minX is perhaps not a minimal example but at least reproduces the problem now.