respond to keys held down before mouse pressed
Merge pull request #107 from ccd0/dynamic

fix response to keys held down before mouse pressed