Cleaned up some rendering issues.