Wait until the overlay is loaded