Need to respect the smallest scale, since that is the one that gets aliased.

Also fixes issues with layout_weight=1 wrap_content.