Bug 866450 Part 8: Fix a missed nsContentUtils::WrapNative call on a CLOSED TREE