Editor: Fixed material panel bug.