Further investigation shows that JoinBattlefield gets tainted as long as UIDropDownMenu_GetCurrentDropDown().displayMode == "MENU" the moment the PvP UI loads. Setting UIDropDownMenu_GetCurrentDropDown().displayMode = nil before loading the PvP UI will prevent taint.