bugfix - size of canv to image