added paintBounds to LayerPainter; fixing viewport scrolling
20 files changed