Crop background with rect corners