Fix the centerInSuperview method to reflect superview's transform.