update html2canvas and add text dir