Fix smartclip crash

Left upper corner of the rect may not always be the starting position
in the DOM hierarchy, and this assumption was causing crashes.

BUG=589082

Review URL: https://codereview.chromium.org/1806813004

Cr-Commit-Position: refs/heads/master@{#381838}
3 files changed