Fixed bug that records clicks and keypresses when recorder is not running