fixed a couple tiny rendering bugs