Better inner and outer rect calculation for ClipChains
We calculate the real inner and outer boundaries of clips in screen space and use it to discard clips and generate masks that are a little smaller in some cases. This results in a small performance improvement on pages with complicated clipping.