Non-solid extruded geometry when using EllipseCurve for the shape


I’ve been troubleshooting why when I cut an extruded geometries, I get a non-solid geometry.
I was able to narrow it down to the X,Y parameters for the center of ellipse / arc being non-zero when using EllipseCurve for the shape.

In the picture below, you can see the incorrect result when using 1,1 and the correct result when using 0,0:

I also noticed that when using 1,1 (or any other value that is not 0,0) and enabling wireframe there is a black line showing on the side, when using 0,0 the entire wireframe is yellow:

Anyone knows why it happens? Is it a bug?