Media Library: Bug fix and performance improvements

Collection sorting no longer shows unrelated assets

Sorting a collection by title and scrolling down could cause assets from outside the collection to appear. This has been resolved.

Faster loading for large libraries

Libraries with large collections now load faster when browsing assets.