Fixed pyglet bug on macos.
Merge branch 'macos-env' of https://github.com/Paolopost/tractome into Paolopost-macos-env
Merge branch 'Paolopost-macos-env'