Fixed renderer not resizing on resize.