Don't register mouse events on masks