Fixes heap corruption in Map::findPath