fix overlay dom element