fix screenrecord abort issues

Authored : playfulgod