Prevented material shader option sheets from crashing on Undo and Redo