wrong calculation of view matrix -- the given offset must int the range of -1 to 1