DDraw->WineD3D refcounting hack