corrected the misplaced ball when any part of the page is clicked.