[Bug 49643] Calling ClipCursor too frequently can cause stack overflow in foreground window thread.