fix problem: pop-window on dragging

fix problem: pop-window on dragging