Back to index-based focusing.

Direction-based one breaks with maximized/minimized windows.