fix overlay sway issue