Prevented reopening of all tree nodes on changing the visiblity of a single layer