A car's rigidity does affected by those moonroofs. If it's the same exact car, one without moonroof is more rigid than one with moonroof. Of course, car manufactures knows this so they will add support to cars with moonroofs.