Fix bugs after ConsoleRenderer.cs refactoring.