fix right_click+paste issue

If you try to paste text in search box using right click, doesn't work.