Fix to keep component group when it switching sections on the component snapshot.