fix(mask): fixes incrorrect mask value in Opera and IE