border-align: account for origin of child bounding box

parent be7a349e
Pipeline #180793 failed with stages
in 40 minutes and 11 seconds