Disable the pyglet shadow window when running unit tests.