Fixes shader compilation from revert/change material members