Lazy fix for duplicate materials