Add the overlay to the window instead of the view