tab/window selector, little bugfix