Walls for maze exclude Pac

Pac collides with walls
Experimenting with different mazes

Why can't I change the maze background and have it still work?