Yes. But my problem now is a bit hard to explain, so maybe you have to try it by yourself.
If you walk, and the ghosts try to reach you, they also try, because they want to reach you, to walk trough the wall. You understand? Hmm...
Ok. You walk in the maze. The ghosts are set to "move towards player'(or something). Well. If there is a wall between you and the ghosts, the ghosts try to get trough the wall, because they want to reach you. Well, now the problem is, they almost dont move. Because they cant go trough the wall.
EDIT: Got the View Range script, but I still have the same problem...