Fixed wrong element when selecting graph in allographs-public-user.js