Fixed null references for tree nodes without screens.