Fix createRootFrame, set view content size

* Make createRootFrame return the current root frame if there is
  one.
* Ensure that the view contents are sized to the whole view
  rectangle.