a fix to the Get-UIAWindow cmdlet (getting a window as a process), PS 2.0