Tutorial: Intuitive material building with the UI Material Lab - Part 1

Any advice on how to keep a bevel composed from combining two sdf rects from misaligning when ratio or size of widget changes? I’m trying to use the Box paint mode but still it’s being weird:

ps. I’ve watched the stream, it’s really awesome project for someone that likes to build stuff in code.