fixed bug in screenshot disabling