fixed cursor offset