Fix caret positioning at end of line.
Fix caret positioning at end of line.

niklaskorz/pyglet,adamlwgriffiths/Pyglet,niklaskorz/pyglet,adamlwgriffiths/Pyglet,niklaskorz/pyglet,seeminglee/pyglet64,adamlwgriffiths/Pyglet,seeminglee/pyglet64,seeminglee/pyglet64,adamlwgriffiths/Pyglet,niklaskorz/pyglet