Refactor: Automatically rebuild Material layers on engine reset