Fix ball not spinning when user clicks directly on <html> element