Fixes misalignment of buttons in inputwidget