Set the view target position when clicking on an object.