issue #4234: 'Event* event' needs to be in 'TouchScriptData' struct.
issue #4234: Acceleration -> const Acceleration&
issue #4234: Fixes linking error in UI.
Merge pull request #5532 from dumganhar/iss4234-bind-event-dispatcher

issue #4234: Some fixes when binding event dispatcher.