Sweep around a rectangle not working

So the only way I could get it to work is by moving the circle to the side of the path as seen in this picture:

If the circle is in the middle of the path (which would be more ideal), it never works for me. It throws up the error as before. I thought it would be something to do with the corner radius of the path, but the radius on the circle and the corner radius are both different.