Correctly clip content that has border-radius (#399)
Add test case for css clip