Fix xml fragment not displayed.