Sometimes if an enemy gets near the edge of a corner, it will disappear visually, but it will still be able to move and hit the player.