Partial fix #8600: some wrong sized buttons while editing plugin settings