Fixed spacebar control bug