Fix image scaling

Fix image scaling