Revert "Fix for spacebar un/pause playback"

This reverts commit 24968fb24f049e9dbe4ace0256bad83651734e28.
Revert "Revert "Fix for spacebar un/pause playback""

This reverts commit 09cba835b2af1ba4377ae0b111c9e9352171ae20.