Materials now correctly load and apply to objects