I found some strange behavior on 1.21.10 Purpur. If you leash a player and then fly with an elytra, that player will be stuck in a mount position, sitting on an invisible entity. That invis entity then starts to walk around. You can get out of it by clicking shift.