Fix image scale initialization