Fix issue where loading material parameters from J3O would fail