Fixed and tested rendering.