Fix image resolution issues