wait for image load to draw background