The CMOS at on and off state just means its impedance become very low and very high. Even at very high impedance, it still have some leakage current present. Because your Transmission gate are connect to gate input of the CMOS. Then can try to connect a 100K ohm at the output then you will see the difference.