Page afterPaint callback made alive