Update makeTextFit.js

Ammended issue with passing in max size.