It's because of horizontal merge of group title row which expands the selection and applies the change to all cells lying in the selected range.
Please use any setting which avoids horizontal merge of group title row i.e., groupModel.summaryInTitleRow: 'all'