Fixed OpenGL rescaling, semi-working.