The Control looses focus when it is wrapped in ScrollViewer
As a workaround edit the BarItemControlTemplate (using implicit styles) and change the positions of "CommonStatesWrapper" and "headerContainer" borders.