Change retrieval of buffers from sublayers to both clip relative
to the scrolled position of its parent layer and to offset the
origin, since each layer assumes that its origin is 0,0.