Render full window size if document has no height

When creating screenshots with `:full => true`, the call was failing silently (no screenshot being created) if the `scrollHeight` of the root element was zero.  This PR changes the behavior to fall back to using the viewport size in that case.

I encountered this because I'm working on a project that uses `position: fixed