Using NodeFlags ctor to set InEnabledState when needed
Merge pull request #3035 from brunoabinader/fix-node-ctor

Using NodeFlags ctor to set InEnabledState when needed; r=Ms2ger