fix #165 invalid propagation of node change in cptcomponent

This commit is similar to 572d5e50dd101535e0a7993e644e061ec1229ac0.