I confirm this "bug". I was hunting pretty much everything in that way, ignoring that i was supposed to be an unwanted bug. (I come from H&H, where all the hunting tricks are workaround of bugged mechanics and so generally accepted as legit. That was just a way to trap a beast.)
I also confirm that a bear cannot be tricked that easily. You need to have the stats to stand in front of him and no wall or door protect you from his groar. If you have that stats, you would prolly find easier to move around instead of have a bear stuck in front of your gate. XD
Sadly, never happened that an animal teleported inside while stuck in the wall. It happened, though, that animals teleported at me while i was running away in an open space and they got stuck on a rock or something that i dunno. I thought it was a lag + client refreshing bug.
Now i see why it happened EVERY TIME an animal got stuck. Lel.