fix overlay mask