Turn off pointer events on mask