Improve screenshot detection accuracy