apps/d3d8: Don't make assumptions about screen resolution.