Various minor cleanup.
Move renderHitGeometry into Renderer.