fix invisible cursor in light mode