Fix Direct3D direct mode on my computer.
The back buffer was being created too small.
Note that resizing the mirror window will still break the rendering.