fixed original cursor tracking bug