Custom Verse UI Buttons Mess Up Layout When Pressed

When making a custom button using the button class I consistently notice what looks like extra padding being added around the button whenever it’s pressed down/clicked.

I’ve seen islands that seem to use custom buttons and do not have this issue, but everything I’ve tried results in this issue.

Does anyone know what’s going on?

Here are some screenshots:

No button pressed (Lay out looks as intended)

Buy button pressed (Significant padding added to sides of Buy button, stretching the entire menu horizontally)

Close button pressed (padding added to bottom of menu, stretching it slightly vertically)

The code looks like this

Simple User Widget with an Overlay as the topmost element

ButtonWidget:WB_Button := WB_Button{}

Custom button using button class

Button := button:

        Slot := button_slot:

            Widget := ButtonWidget

            HorizontalAlignment := horizontal_alignment.Fill

            VerticalAlignment := vertical_alignment.Fill