This breaks a potential recursion when set_active() is called from activate_item(). See also 88fc22610
88fc22610