Ui border problem

So
I’m tryng to build a top down action shooter. I’m working on the inventory UI atm.
Problem is
When i put a border inside my UI widget and then open the inventory at runtime, it goes black and shifts position.

happens to any border in any ui

halp

For the position, double check your Anchor config:
image

For the black effect, double check if you have used a material apply to your border that it set as material UI.