NaN should be transparent. Fixes #7