When a wolf or a cat with "NoAI" tag is right clicked by it's owner, it does not sit/stand for the client. Checking the data, the "Sitting" tag is changed, but the player needs to relog to see the changes. (Simply reloading chunks or going far away and returning does not work)
Steps to reproduce:
1. Run the following command:
2. Check the Sitting tag with this command:
3. The tag should be 0b, now right click the wolf and run the command from step 2 again. The tag should now be 1b, but the wolf will be standing.
4. Close the world and log in again, the wolf will be sitting. Right clicking the wolf while it's sitting will create the same effect, but with sitting and standing swapped.