keep swapping through all your windows. i find if it happens ill do a swap going down the list of my alts until i find the one that is running smoothly. then swap back to your main. This usually fixes the problem. If not. repeat.
but ive never actually had to restart keyclone or wow using this method.