Fixed lookAt function