fix picture resize