Why does the XD have inline height?

As you can see,
The first one is the correct spacing
The second one is the spacing between the text and the text without using rectangles
There's a difference of more than 30 px
This is not the case in AE and PS,So this is a very serious problem for UI designers
Why not improve?
