The hyperlink generated in the Tree always point to the root of web application. This is fine if your site collection is at the root of the web application, but what if your site collection is a sub web...
http://sharepoint/collection1
where collection1 is my rootweb of a site collection.
http://sharepoint/collection1
where collection1 is my rootweb of a site collection.