Fixed tree box

The tree box is now responding to input events again.