prevent mouseevents