Fixed the zoom issue with 'zoom to fit' on tree