Fixing calcPaintBounds for Canvas ProcessUp.