Wait for background to load before displaying pge