How do I make UIV stop choose which window to record at random?

For example - I am trying to record an action in window 1, which is open and in focus. UIV extension was opened from this window. However, when I click record, UIV pulls up a window I had minimized and completely ignores anything else I’m doing.

I am having the same issue with playing back macros - it seems to choose the active window at random. Do I just need to run these on a standalone browser with no other open windows or something? selectWindow just errors out.

Update: that’s exactly what I did and it seems to work much better. Set up a portable version of chrome and start the macro with

      "Command": "bringBrowserToForeground",
      "Target": "",
      "Value": "",
      "Description": ""
      "Command": "selectWindow",
      "Target": "tab=0",
      "Value": "",
      "Description": ""

Seems to have fixed the issue for now, but it’s a workaround, not a solution.