Focus shift is an inherent reality derived from the design of the lens (lack of a floating element). As such, its not the lens I reach for when I want consistently tack sharp images. Canon asserts that a floating element was left out of the design in order to allow for more uncorrected spherical aberration, allowing for extremely smooth bokeh, and the overall dreamy quality of the 50 1.2 (these are the reasons I reach for the lens).
There are some 'tricks' to more consistently nailing focus with this lens though:
Try not to frame your subjects at or near to the minimum focus distance.
Don't focus and re-compose. In fact, try to snap the shot immediately after the AF locks.
The lens' AF is most accurate wide open, and focus shift is more prevalent as you stop down. If you're shooting at a large aperture, opt to shoot at f1.2, if possible.