[composer] Use the maximum frame width when setting a html item's content width