Better Rect::Intersect algorithm

The last one seemed to have a bug.
DocumentView: Better placement of pasted graphics

Moves them to the currently visible center page and makes sure they
are visible when pasted.