Fixed customtree for xulrunner 24.0 and up