FIXUP: pyglet hacks.