Handle case where iframe width is 100%.

From #6539.
This comment makes my brain hurt, I think it is missing some words.