Revert "handle input event before collecting randomness"

This reverts commit 78b31b583be0ec77a096c250320178e732822106.