Fixed the bug with wrong rendering.