fix screenrecord abort issues