Fixed Image and Renderer pickling

Fixes  #3614 and https://github.com/uqfoundation/dill/issues/4 as well as likely fixing #3392.
Woops. I put it back in the wrong place. Still, it applies unilaterally.