Fixed NRE after leaving editor.

As per [the forum post](http://forum.kerbalspaceprogram.com/threads/97126-0-25-CIT-NodeHelper-v1-0-16-10-2014?p=1484393&viewfull=1#post1484393), a PR for the NRE I discovered when open an action UI is opened after leaving the VAB/SPH.