Fix saving palettes to .kra files
The resource storage is cloned, but the storage location in the cloned resources isn't changed. It's useless to check for resource.storage == document.storage here anyway.