adding a fix for rounded corner overflow.