A fiddle that is supposed to show that navigation with merged cells and hidden rows is fixed, demonstrates a similar issue.
As you can see here: Handsontable example - JSFiddle - Code Playground - when navigating with the use of left/right keys on the keyboard from the very beginning of the row (for example, the third) to the very end of it, cells of hidden columns are available for selection. Consider, for example, navigation with the use of keyboard between C and G columns - selection rectangle’s stuck, trying to select hidden cells.
we get a weird behavior of a border-visible selection when we try to select an invisible cell. That is surely a bug. It has been reported somewhere on Github. I will look for it and attach the reference here.