WICKET-5748 StackOverflowError while trying to get the Markup of
WicketHeadContainer