Stroke doesn't look correct when using P3D in the 3rd argument of size()

When I make a rectangle with a strokeWeight of 20, and when I don’t use P3D in the 3rd argument of the size() function, it looks like this:

But when I use P3D, the stroke is beveled a little bit:

How do I remove the bevel from the stroke?