sample of detecting cursor/other ghost position
