Fix: ShaderGenerator failed to properly traverse subgraphs with a zero nodemask