fixed errors in map and in range check

fixed filter gamesprites in Node
fixed other small mistakes with the map