not exactly the same bug, you need a block above the tnt for have this bug, if there is nothing above the tnt stay in the good place. I think its because the tnt became an entity and she have just an half block to stay (1.5 block the fence and the block above no let to the tnt the space she need) so she pass through the fence.
not exactly the same bug, you need a block above the tnt for have this bug, if there is nothing above the tnt stay in the good place. I think its because the tnt became an entity and she have just an half block to stay (1.5 block the fence and the block above no let to the tnt the space she need) so she pass through the fence.