Make accessibility recoloring happen once instead of every frame
This MR moves accessibility recoloring from PagePainter (every frame) to be only run once, after the pixmap is generated. This drastically improves performance when using those options, and paves the way for !680, which these commits were originally a part of.