Fixed the maze demo.