Fix components inside group helper

This fixes a regression in canary. Components (including `link-to`) end up with the wrong context when used inside a `#group` helper. And their templates don't get grouped.

(I understand that #group is experimental, but as long as the support for it remains in master, it makes sense to not leave it broken.)

This resolves #4883.