Support max height/width on canvas
Support image larger than width