Fix for the tree menu in 1.4.1