Fixing Distorted Corners/Curves

I’m drawing a square with rounded edges, and a 1pt outline.

When I preview it the outline distorts on the corners…

I think i remember that they came up for a fix for this in cs3. Can anyone remind me what that is?

Thanks in advance