Fix component group regression.

Component group is not a fixed component, but it should not always use all given space and be more friendly.