D3D: Fix scaling of OSD.