reverted stack restarting for whenKeyPressed hats
Merge pull request #537 from LLK/revert_key_hat_change

reverted stack restarting for whenKeyPressed hats