Conversion of GL_TEXTURE_RECTANGLE to GL_TEXTURE_2D. Not finished, uses textureSize in some cases in the shaders and breaks XFB. Needs more work done.