Use bezier, enchanced corners, or enhanced curves, the latter two have tolerances you can adjust, one of them will get you a perfect contour 99% of the time. Instead of going through the trouble of setting up a transparent background in PS just make it white.