When slicing an object with, admittedly, a sharp corner detail Babmu Studio adds extra layers to the sliced version of the part and I am not sure what setting will prevent this.
I think this is because the height of your object cannot be calculated to the exact number of layers, so you end with one layer larger and one layer smaller then the final layer in the object.
I’d try
- different layer height
- variable layer heights (not sure if it takes this into account though)
- varying the first layer (just shifting the rest should be enough)
Cura has some options for this, but not PrusaSlicer.