Refactor/fix how SceneCanvas/ImageCanvas resize images.