Adjusting position order of button and title in boxes. [fix #1222]