turn canvas elements into imgs -- works with Firefox