changed to not share d3d devices between images