Merge "Destroy prefetched layers when the context is destroyed" into main