bug 914435 fix toolbaritem handling of ambient frames, r=markh