D3D: Fix Virtual XFB viewport.

Looks like I was incorrect about swapping the bottom and top members.

This PR also fixes a problem where the framebuffer was not invalidated when XFB modes are switched.