backport a bugfix from driver.love

Ignore typing if cursor isn't in viewport.

Created by  Kartik K. Agaram  on October 22, 2023
YOCTF4J3GCMKKVKGO2N5NGHNCRG6FLD54QPI5RGLK4OP667D3NVAC
Change contents