Resizing window now resizes opengl viewport