Fix overlay rotation bug in D3D9.