I attached a video showing the bug in action.
This is still an issue in 1.21.4, and it works with any placeable block, not just fences.
I attached a video showing the bug in action.