Removed unnecessary code in EffectNode constructor