[gui] fix setting state on controls inside groups inside containers. fixes #14295