Fixed Image and Renderer pickling

Fixes  #3614 and https://github.com/uqfoundation/dill/issues/4 as well as likely fixing #3392.
keeping this comment around might be helpful...