Layer_PasteCanvas: migration of parameters to ValueBase type.