Make sure no NaN goes into projection matrix.