Made a quick bugfix with using KeyCode.escape instead of KeyCode.Escape.