Work around segfault in pixelate