Fix bug ZK-1726: Treeitem update - infinite loop - browser freeze

http://tracker.zkoss.org/browse/ZK-1726