simplify cursor-on-screen check

Created by  Kartik K. Agaram  on August 17, 2022
ELJNEPW26FUIIFY6D24274J7KZICRLE3TJHCFNRVLR5NZBNNV37AC
Change contents