Companion unsummoned when spending skill points with permanent bond active

When at the companion limit with permanent bond active and spending a passive skill point, one of your companions is unsummoned (for me it always seems to be the bear). It is possible to just re-summon the companion afterwards.

Note that this does not happen when below the companion limit, so I suspect that the game is momentarily counting the wolf towards the limit (ignoring permanent bond), which causes some companion to get unsummoned to comply with the limit.

Looks like anti-snapshot mechanics