On the rigidity of moduli of weighted pointed stable curves