Apparently gfxSwapBuffersGpu() must be called sooner.

Almost no more tearing. Will look into calling it even earlier.