small fix for dx9 backend
merge base from master videocommon