Or since is used only in `extractCursorPos`, maybe it could just be a variable there?