Removed clearNewState from InputContext

The function was not necessary