I'm fairly new to it as well but it looks like you've stuck one giant active object in the background. The original program was written with walls defined as single tiles, and they were probably background objects, not active objects. As it is, all of the overlap detectors will always be registering that they're overlapping the walls - essentially it thinks Pacman is completely enclosed.