Fix image resolution