Fixed bug where Material colors were updated incorrectly
Made MaterialRegistry