Treeview in palette

I have a treeview in palette and corresponding views are displayed in the view next to it.
The problem is, when I click on a node in treeview for first time after load, the node that is visible at the top(top node) gets selected and its view is being displayed. After that it works fine, its giving problem on first time only.
How to remove this error

Is this a problem with using a TreeView, or with using a GoView?

I think its with tree view.