Make sure that clip is a shape

`clip` is either a `shape` of the form `rect(top, right, bottom, left)` or `auto` or `inherit`. Make sure that it's in `shape` form before trying to split it.