edit mask and mask for canvas