Fix a problem where Auto Layout was making the collection would overflow its frame.