Step 13: Wait for rendering to complete