better fix for #167, now with an option on the instance, prevent_mouseevents