Ghouls pass through walls, because there is no pathfinding in the game yet. They would get stuck on anything otherwise.
They shouldn't be teleporting though. They only reset their position when you leave and enter the area and they incredibly fast once angered, but should be it. What exacly do you mean by teleporting?