workaround to fix crash when container constrained, this causes unknown width which must be hand edited