removed some code to fix the incorrect appearance of new windows under existing

For example, when the transmission torrent client window is covered by google-chrome and when I run the torrent file in chrome,  new window of torrent settings dialog box appears  covered by chrome window too.
Similar happens with some other applications