fixed jumps in lookAt method