Fix image dimensions