Changed to drawing to a texture

Changed so that the different states (and units) that draw to a window
draws to a rendertexture instead to make changing aspect ratio easier.