Issue with full sample

Hey all. Lately i’ve been trying to use full sample in my render. But I’m facing a certain issue. Here is a test scene. When I hit render, it renders all individual layers(whose edges look aliased) and produces the final composite where Antialiasing is applied. If I try to use the individual layers in the compositor, they have aliased edges. The output in the viewer node is still aliased. How do I get the antialiasing back on this output.