We were getting confused about our layer tree offsets, which caused us
to set an incorrect cull rect for the recording inside a viewport.
This patch does away with layer tree offsets almost entirely. We now use
them only at repaint boundaries, which is where we want the layer tree
to be mutable.
Fixes#1460