I noticed that when a skinned bar has focus and it isn't topmost and win.handlelist is executed, the bar loses focus. Below a lame workaround that can only give focus back to the bar, so you will still see it dive under other windows then come back. It's more annoying when win.handlelist is executed by an event.
local focus=win.handle("rawactive")
local handles = win.handlelist(sExclude,bMode)
win.show(focus)
