wined3d: Don't keep a reference to the container, as it creates a