d3d: Properly cache the DrawPixels tex size.