Fix redraw

Fixes an issue where the document view wasn’t actually being resized
because the encompassing size wasn’t set when it needed to be.