Anchor Alignment to take nesting into account

When an element is nested in the hierarchy, and we try to use the anchor alignment options (press Alt/Opt to see the options) /

But it only works for the top most layer - the one that is in “Artboard/World Space” but if you try to align anything nested, the anchor points gets misplaced.

It’d be awesome if by default the anchor centering would take into account the level of nesting - or just consider the shape/layer bounds only when centering the anchor point