Workaround UIA bug with typeString occurring on some devices