Wait for background to load before animation