using WangYong's approach to get grabMouse done