Possible Bug adding sub diagram

We went over this in another thread already, this is by design.

The moment you create a sub diagram (or assign an already existing diagram) then that diagram will be placed “below” the linked element within the repository hierarchy. I guess this is the proof you had been looking for over there.

My recommendation is therefor to also utilize references.