Added caching to drag button.
Bugfixes to event capturing and drag events.