Fixed SceneInspector error when deleting node.

This was introduced by the code to remove popup windows when paths become invalid. It seems that it might be a good idea to use WeakMethods in idle callbacks as a general rule - since the real owner of the UI might have disposed of it before the idle event occurs.