Fixed 'Bug 17659 - Remove a reference in the treeview can lock up
Xamarin Studio'.