jigsaw canvas image bug fix