Fixed a bug in WebCLUserEvent constructor