Button: Fix `checked` prop on button's input not always applied correctly

Fixes #14137