Fixes: [54034] d3dx9: Improve sprite rendering state handling.