adjust overlay text alignment