Fix inaccuracy of viewDirection.