fix click event for actual target
TNL-138
Merge pull request #5808 from edx/zub/bugfix/tnl-138-createunitthrowserror

fix click event for actual target