Henri Verbeet : d3d9: Properly initialize the viewport dimensions.