Bug 866461 - Fix constant viewport remeasuring on bing.com. r=mfinkle

Fix some cases where the viewport was remeasured when it was unnecessary that
was causing bing.com to get caught in re-measuring cycles.