make the mask work in Chrome