fix spacebar capture
Merge pull request #1886 from ZappoMan/bugfixes

fix spacebar capture