If a ressource geometry is null, instance geometry return null
fix MatrixSanitizer to actually clean some possible weird matrix values