Painter currently tries to load fonts, which won't work if we're in a tightly pledged process. It was only used to fill a rect with transparent pixels, so just do that manually instead.