Fixed rendering problems.