set overlay content's width and height the same as the overlay.