Fix some texture scaling bugs

When rendering resolution was auto and texture scaling was auto, we didn't scale.

When texture scaling was auto, and render resolution was not auto, we tried replacing images (which fails for textures invalidated a lot, because they stop getting scaled.)  Videos are a common example of a texture that gets invalidated a lot.

-[Unknown]