Fixed #194: Scan Popup window doesn't get the keyboard focus on Linux.

Tested and verified on recent Unity, Gnome, KDE, LXDE systems.