Javascript Fabricjs Image Is Cropped When Using Scaletoheight Stack

Javascript Fabricjs Image Is Cropped When Using Scaletoheight Stack