Fix popwin:reuse-window not handle selected frame