Handle all input events every frame.  Fix #513

The problem was that all inputs would only be handled one input per
frame, causing them to queue up and continue to run if the controls were
released.