Allow simulation to be reset by pressing spacebar