Steps to reproduce this issue
Join in a world
Build the specif of arrangements show in the video
Now, grab the egg of villager, and spawn the mob
Now set the time as night
Punch the villager
Actual result:
The villager will move with doing circle while being punched by the player.
Expected result:
The villager will move normally wihout doing circle with moving
I can reproduce this, but only with the specific arrangement of beds, walls, ceiling, solid block (the crafting table) and carpets shown in the video.