Emit 'space' event when spacebar pressed