In the passive and active (specialization) skill trees, accidental mouse clicks or screen taps (like on a Steam Deck) will allocate a point immediately, without confirmation or undo. There seems to be no way to cancel out of an accidental allocation without respecing altogether.
This issue is compounded by a tooltip window that stays open for a very long time (not sure why, possibly related to controller support?), obscuring much of the screen.