WICKET-5569 Unable to find markup for children of deeply nested IComponentResolvers during Ajax response

(cherry picked from commit e40ae9188ca3810eab77c1ed80efa6f05203b2ca)