Fix for WidgetsTree