Fixed a bug for some cases of the vec2 != operator.

Confirmed the bug with two additional test cases, and solved it.