Mitigate crashes when doing changes in the Material tab