header-group: Guard the focused header bar setter

Better guard the focused header bar setter by checking that the set
header bar actually is one and is part of the group.
2 jobs for header-group-focus-prop in 4 minutes and 13 seconds (queued for 2 minutes and 46 seconds)