direct3d11: decide the main quad dimensions early