[Rendering] Fix rendering issues.