Clears all pressed keys from the state. This can be useful for resetting the state, for example when the window loses focus or during scene transitions.