Merge "Fix cursor not disappear immediately when the mouse device removed"