Make sure the overlay is visible, even if the badge is near the edge

We just shift it a bit to fit it on the screen.

Bug: 58728
Change-Id: I61847ed7b9f08ce6618a903bb4f5e0d6afb07e9b
Merge "Make sure the overlay is visible, even if the badge is near the edge"