There's no exact one right way to do this. Windows shows the archive
as if it were a directory. Whereas macOS decompresses the whole
archive to its own directory. Still another option would be
decompressing the archive into its own directory and then moving the
archive into the local user trash directory. It's just a matter of
what you're used to, so the real issue is merely that the behavior has
changed, rather than it's inherently incorrect behavior.