Fixed undefined bug when clicking not on a talent. Prevented adding points to red items