better isolation of mouse events