renderInPlace, do not traverse DOM twice