Revert "Fix scaling on thumbnails."

This reverts commit 79bf0846122e862c7949feec6242cd841139bc65.