window: fix focus-chain
focus is "lost" if no widget is present in titlebar.
For the first time try focus for bin before titlebar. At any other time try toggling between titlebar and bin or cycle inside if this is not possible.
Fixes #686 (closed)