Fix resized pictures resolution