Use signed arithmetic to avoid underflow when shrinking window.
Use signed arithmetic to avoid underflow when shrinking window.

servo/webrender,servo/webrender,servo/webrender,alanamramjit/webrender,alanamramjit/webrender,servo/webrender,servo/webrender,servo/webrender