fixed also on DirectX