oops - fixed a bug with clearing the canvas during image rendering