Fixed pyglet example on OSX