fixed ideal highlighting and node highlighting when clicked on