frame: fix popup window