Steps to Reproduce:
1. Create a wall.
2. Summon a squid with No AI and Invulnerable (so it doesn't die from being out of water).
3. Push the squid into the wall, it goes through and then teleports back to where it was.
Video showing this below.