bugfix for finding the desktop window id