i dont even know what these changes were supposed to do and i think it didnt work. i think i suspected pyglet. pyglet is kinda obscure and hard to debug. it must have been pyglet.