fixes autoheight on reset