fix comparison of viewmatrix, ref #135