Improved overlay positioning.