Fix application template rendering problem where there would always be a horizontal scrollbar.