re-enable hack to avoid changing pyglet