fix popup_window for tiling window managers

fixes issue #37

tested