Fix slider prevent clicks

Fixes #138
Support events with captures