Fixed issues in MazeNav/Map

Added if(n)defs to MazeNav.