Fix thumbnail width/height calculation on Chrome.

Use a different calculation method altogether to avoid having to take the
scrollbar into account.