This only happens with the GPU tessellator that is enabled by default, but the square caps are about 70% as large as they are supposed to be, likely because of the way the compute method treats them like a degenerate circle with axes rotated by 45 degrees.