Fixed some rendering issues.