EDIT : This was just me being embarrassingly unobservant.
Something seems to be off with the cabinet corner objects in AC26 so that the shape representation does not correspond to the segment settings. In the example below - the setting is set to one segment = no shelf yet it is represented with a shelf = two segments.
Go to Kitchen Cabinet Settings > Segment Details... > Number of Inner Segments and set it to 1.
You should add a Signature to your Profile (click the Profile button near the top of this page) with your ArchiCAD version and operating system (see mine for an example) for more accurate help in this forum.