macOS 2.2: clicking render to image is always unresponsive

In experiment 2.2, the code runs fine, but clicking “render to image” keeps loading and no image appears. How can this be resolved?

Wait a little longer; if you’re not sure, you can log at each step to see where it gets stuck. Be more specific when asking questions, otherwise everyone can only guess.