Fix spacebar play/pause function.