Fix handling of D3DBLEND_BOTH* blend modes.