#986296 by blup, tstoeckler, Damien Tournoud, carlos8f: Fixed _node_types_build() accidentally marks node types as disabled