fix the white-flash at the start of the videos
Our rendered videos sometimes start with a white flash. I think this is caused by the image not being preloaded. There was a bug in our image preloading code causing us not to wait properly. I also added waiting for audio to preload (I think this fixes the issue where sometimes the audio doesn't work 100%).