Handle case where iframe width is 100%.

From #6539.