Fixed a bug in vertex angle condition check.