Fixed some rendering layout issues.