Fixed window resize in OpenGL and added window resize to SDL renderer