Made the Renderer work well on resized browser windows.