Adapted to nsITreeView changes in Firefox 22