Hide overflowing content inside a BorderLayout.

Avoids weird effects/spillage.