#968 incorrect display of buttons