fix bug caused by original fix to issue 405 (see comments 6-7 in that issue)
fix bug caused by original fix to issue 405 (see comments 6-7 in that issue)

adamlwgriffiths/Pyglet,niklaskorz/pyglet,niklaskorz/pyglet,niklaskorz/pyglet,adamlwgriffiths/Pyglet,adamlwgriffiths/Pyglet,niklaskorz/pyglet,adamlwgriffiths/Pyglet