Fix an issue with the faked click event.