fix workspaceBackAndForth

Doing workspace 2 (forth), workspace 2 (back), and then workspace 1 (same
workspace) would hide all windows.