wined3d: Fix the relation between volumes and their container.