wined3d: Make sure that lit doesn't return NaN.