Updated the click event.
Raycaster needs to be implemented