Mouse cursor offset fix