Video + Embed: Layout sizing fixes

* Fixed off by 2dp error when there is a full width image, video or
  embed in portrait mode.
* Float calculations, round down not up.
* Fix swapped height and width problems on embeds/videos sizing