the answer is, do not resize a rounded rectangle, the corners always go grainy draw it to the right size (using fill effect on a rounded rectangle does the same thing). As far as i know you cannot resize a rounded rectangle in PS without the corners going bad.
But i may be wrong