Fix "key" masking and mouse inversion on carbon.
Fix "key" masking and mouse inversion on carbon.

mpasternak/michaldtz-fix-552,shaileshgoogler/pyglet,xshotD/pyglet,mpasternak/michaldtz-fixes-518-522,Austin503/pyglet,qbektrix/pyglet,mpasternak/pyglet-fix-issue-552,google-code-export/pyglet,cledio66/pyglet,mpasternak/pyglet-fix-issue-552,mpasternak/pyglet-fix-issue-518-522,Alwnikrotikz/pyglet,shaileshgoogler/pyglet,gdkar/pyglet,mpasternak/michaldtz-fix-552,kmonsoor/pyglet,cledio66/pyglet,qbektrix/pyglet,arifgursel/pyglet,arifgursel/pyglet,odyaka341/pyglet,google-code-export/pyglet,Alwnikrotikz/pyglet,odyaka341/pyglet,xshotD/pyglet,qbektrix/pyglet,gdkar/pyglet,mpasternak/pyglet-fix-issue-518-522,shaileshgoogler/pyglet,Austin503/pyglet,kmonsoor/pyglet,odyaka341/pyglet,kmonsoor/pyglet,google-code-export/pyglet,kmonsoor/pyglet,mpasternak/michaldtz-fixes-518-522,arifgursel/pyglet,mpasternak/pyglet-fix-issue-518-522,mpasternak/michaldtz-fix-552,kmonsoor/pyglet,cledio66/pyglet,arifgursel/pyglet,xshotD/pyglet,odyaka341/pyglet,Austin503/pyglet,Alwnikrotikz/pyglet,xshotD/pyglet,Austin503/pyglet,shaileshgoogler/pyglet,Austin503/pyglet,shaileshgoogler/pyglet,google-code-export/pyglet,gdkar/pyglet,mpasternak/pyglet-fix-issue-552,qbektrix/pyglet,mpasternak/michaldtz-fixes-518-522,mpasternak/pyglet-fix-issue-518-522,cledio66/pyglet,arifgursel/pyglet,gdkar/pyglet,Alwnikrotikz/pyglet,mpasternak/michaldtz-fixes-518-522,mpasternak/michaldtz-fix-552,cledio66/pyglet,Alwnikrotikz/pyglet,mpasternak/pyglet-fix-issue-552,odyaka341/pyglet,google-code-export/pyglet,xshotD/pyglet,qbektrix/pyglet,gdkar/pyglet