Fix isRepeat value for keyDown()

When state == keyDown[i], then isRepeat should be true. When state != keyDown[i], then isRepeat should be false. The current code passes isRepeat == true on the first call to keyDown().

If I'm completely misunderstanding this code, then please enlighten me... it seems like keyDown() should be getting isRepeat == false on the first call and isRepeat == true on subsequent calls.