Flag mouse events (bug 775716)