Fix buttons in card editor