fix visualizer so that windows are dismissed when fitted sed has no focus