Ensure the result is not greater than zero before doing the subtraction.
Pull request: https://github.com/WebKit/WebKit/pull/9998
<rdar://problem/105679976>