a fix to Get-UiaWindow -WithControl