fix(browser): don't hang when `ui: true` in projects (#10994)