client: fix library items not always expanding consistently