Be in survival inside walls: Monsters will follow your movement and 'hug the walls'. You can see it better with a house made of glass.

Not sure if it's a bug, I hope it's not because it makes the game more challenging