Hooked API calls into mouse clicks.