Layout Working broken Behavior

Behavior of buttons is broken. If they are 4 or more buttons.