Attempt at introducing a tolerance for click events