fix bug: left/right keys after recording restarted