Containers border is automatically set to black with 1px width if empty

This only happens on test mode. When previewing the app, the borders are just fine.

Is this a bug?

Expected: Since the border color is unset and the border width is 0, there should be no border:

Preview Mode:

Test Mode:

This happens with every container that has an unset border color, even if border width is set to 0

3