Commit before wiping the current stuff from the input manager.