Update autoheight.js

fix autoheight bug