Buttons and frames now rendered correctly