Fix a bug in normal computation.