In my testing with 1.20.6 and the latest snapshots versions of ViaVersion/ViaBackwards/ViaRewind (as detailed in the original issue) available on Hangar, this should fix #327.
A similar fix may be required for legacy client versions, but on the 1.20.6 client with the snapshot versions of ViaVersion/ViaBackwards/ViaRewind this issue doesn't seem to occur.
In my testing with 1.20.6 and the latest snapshots versions of ViaVersion/ViaBackwards/ViaRewind (as detailed in the original issue) available on Hangar, this should fix #327.
A similar fix may be required for legacy client versions, but on the 1.20.6 client with the snapshot versions of ViaVersion/ViaBackwards/ViaRewind this issue doesn't seem to occur.