[https://github.com/HabitRPG/habitrpg/issues/2009] fix restoring
allocatable points on change-class