fix canvas size to image size
delete locations