Fix a broken click event