Don't show the overlay if the badge is not near the top of the window

Bug: 58728
Change-Id: Ia714425078c277d65af99389c95014d87e138e8c
Merge "Don't show the overlay if the badge is not near the top of the window"