Fixed a rendering bug.