image resizing on the canvas fixed