Fixed library cards disappearing when viewing the library multiple times