Proportional resize by width and height.