d3d: Scale positions by 128/32768.