Revert "Fix image scaling"

This reverts commit dfa14ed97d2921583a1d300e7b3fa67a4d68e22d.
Fix image scaling 2

Fix image scaling 2