Fixed errors with "originalEvent" property.