fix overlay positioning